package com.microexam.sunorder.mapper;

import com.microexam.suncommon.domain.Order;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface OrderMapper {
    List<Order> getOrders();

    void addOrder(Order order);
}
